import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { CasePageModule, CasePageRouterModule } from '../../business/case-page/api';
import { BasicModule } from './basic/basic.module';
import { Demo3Module } from './demo3/demo3.module';
import { Demo5Module } from './demo5/demo5.module';
import { MultipleLevelModule } from './multiple-level/multiple-level.module';
import { CallbackAndRouterModule } from './callback-and-router/callback-and-router.module';
import { SizeModule } from './size/size.module';
import { GroupModule } from './group/group.module';
import { PositionModule } from './position/position.module';

const ComponentModules = [
  BasicModule,
  Demo3Module,
  Demo5Module,
  CallbackAndRouterModule,
  GroupModule,
  MultipleLevelModule,
  SizeModule,
  PositionModule,
];

@NgModule({
  imports: [CommonModule, CasePageModule, CasePageRouterModule, FormsModule, ...ComponentModules],
})
export class DropdownDemoModule {}
